package rensoft.android;

import android.app.Activity;
import android.os.Bundle;
import rensoft.android.ActivityPresenter.ActivityResult;
import rensoft.java.collections.Map;
import rensoft.java.event.Event;

public interface HasActivity {
  Activity activity();

  Event<ActivityResult> getOnActivityResult();

  Event<Bundle> getOnCreate();

  Event<Void> getOnDestroy();

  Event<Void> getOnPause();

  Event<Map<String, Object>> getOnRestoreNonConfigurationInstance();

  Event<Void> getOnResume();

  Event<Map<String, Object>> getOnRetainNonConfigurationInstance();

  Event<Bundle> getOnSaveInstance();

  Event<Void> getOnStart();

  Event<Void> getOnStop();

  boolean isPaused();
}
